<#include "../../base.ftl"/>

<#macro title>
物流交易系统
</#macro>
<#macro cssfile>
</#macro>
<#macro scriptfile>
</#macro>
<#macro jsscript>
 var ldinfoId;
 ldinfoId=decodeURI('${Parameters.ldinfoId!""}');
 //alert(ldinfoId);
$(function(){
    $("#storageDetailedId").ready(function(){
      $.ajax({
	    url: '${request.contextPath}/list/content/TltStorageSupplyDetailed/list.html', 
          type:'post',
          data:{'ssinfoId':ldinfoId},
          dataType : 'json',
          success:function(data){
              $(data.page.result).each(function(index,obj){
                $("#ssinfoId").html(obj.SSINFO_ID);
                $("#address").html(obj.WAREHOUSE_ADDRESS);
                $("#warehouseQualification").html(obj.WAREHOUSE_QUALIFICATION);
                $("#unit").html(obj.UNIT);
                $("#price").html(obj.UNIT_PRICE);
                $("#remark").html(obj.REMARK);
                $("#planDestination").html(obj.PLAN_DESTINATION);
                $("#dockDistance").html(obj.DOCK_DISTANCE);
                $("#trustCheck").html(obj.TRUST_CHECK);
                $("#isCheck").html(obj.IS_CHECK);
                $("#checkNote").html(obj.CHECK_NOTE);
                $("#checkBy").html(obj.CHECK_BY);
                $("#checkDate").html(obj.CHECK_DATE);
                $("#hasMonitor").html(obj.HAS_MONITOR);
                $("#processCapability").html(obj.PROCESS_CAPABILITY);
                $("#provideDispatch").html(obj.PROVIDE_DISPATCH);
                $("#minRentDay").html(obj.MIN_RENT_DAY);
                $("#volume").html(obj.AVAILABLE_VOLUME);

              })
          	alert("成功");
          },
          'error':function(xhr,e1,e2){
            alert("失败");
          }
      });
    });
    });

</#macro>
<#macro main>
<div class="span10" style="margin-left:150px;">
	    <legend>仓储供应信息---详细页<button class="btn btn-small btn-success pull-right" type="button">我要发布</button></legend>
            
  	     <table class="table table-bordered" id="storageDetailedId">
              <tbody>
                <tr>
                  <td>可用仓库容积:</td>
                  <td id="volume"></td>
                  <td>仓储资质:</td>
                  <td id="warehouseQualification"></td>
                </tr>
                <tr>
                  <td>单价:</td>
                  <td id="price"></td>
                  <td>计量单位:</td>
                  <td id="unit"></td>
                </tr>
                <tr>
                  <td>是否提供监控:</td>
                  <td id="hasMonitor"></td>
                  <td>是否具备库内加工能力:</td>
                  <td id="processCapability"></td>
                </tr>
                <tr>
                  <td>是否可提供短程配送:</td>
                  <td id="provideDispatch"></td>
                  <td>要求最短租用时间(天):</td>
                  <td id="minRentDay"></td>
                </tr>
                <tr>
                  <td>离最近水运码头距离(公里):</td>
                  <td id="dockDistance"></td>
                  <td>委托审核:</td>
                  <td id="trustCheck"></td>
                </tr>
                <tr>
                  <td>审核描述:</td>
                  <td id="checkNote"></td>
                  <td>审核日期:</td>
                  <td id="checkDate"></td>
                </tr>
                <tr>
                  <td>审核状态:</td>
                  <td id="isCheck"></td>
                  <td>审核人:</td>
                  <td id="checkBy"></td>
                </tr>
                <tr>
                  <td>仓库地址:</td>
                  <td id="address"></td>
                  <td>备注:</td>
                  <td><textarea type="" class="" id="remark"> </textarea></td>
                </tr>
              </tbody>
            </table>
        </div>
</#macro>
